﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace YArchitech.Revit.MEP.Calculator
{
	public class SelectionRoomTagFilter : ISelectionFilter
	{
		public bool AllowElement(Element element)
		{
			return element is AnnotationSymbol && (element as AnnotationSymbol).Name == "房间照明标记";
		}

		public bool AllowReference(Reference refer, XYZ point)
		{
			return false;
		}
	}
}
